<?php
class NoTandanFilterPost{
	public $no_tandan;
	
	public function NoTandanFilterPost(){
		$no_tandan = array();
		$total	  = 0;
		// no_tandan
		foreach($_POST as $k=>$v){
			if( strpos($k, 'no_tandan-') !== false ){
				$index = substr($k, strpos($k, '-')+1);
				
				$no_tandan['no_tandan'][$index-1]   = $v;
			}
		}		
		
	
		$this->no_tandan = $no_tandan;
	}
}
?>